#include <string.h>
#include <stdio.h>
#include "base.h"

int main(){
    int p=5;
	initLog(LOG_DEBUG,"./test.log", FALSE);
	LOG_INFO("test");
	LOG_DEBUG("test_debug");
	setErrStatusCode(ITEM_NOT_FOUND);
	printf("%s\n", getErrMsg());
    printf("swapping: %d\n", atomic_comp_swap32(&p,8,1));
    printf("after: %d\n", p);

	return FALSE;
}
